/**
 * 
 */
package xupt.se.ttms.idao;

import xupt.se.ttms.model.Studio;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;


/**
 * @author Administrator
 *
 */
public interface iStudioDAO {
	public boolean execInsert(Studio studio) throws Exception;
	public boolean execUpdate(Studio studio ) throws Exception;
	public List<Studio> HandleStudioResultSet(ResultSet rs) throws SQLException;
	
	public ResultSet execQuery(String str) throws Exception;
	public ResultSet execQuery(int i)throws Exception ;
	public ResultSet exexQueryAll()throws Exception;
	//主键是int类型，通过主键删除
	public boolean execDelete(int i) throws Exception ;
	
	public ResultSet execQuerySmall(int seat_number)throws Exception ;
	public ResultSet execQueryBig(int seat_number)throws Exception ;

	/*public int insert(Studio stu);
	public int update(Studio stu);
	public int delete(int ID);
	public List<Studio> select(String condt); */
}
